using System;
using Microsoft.SPOT;

namespace Netduino.Sensor
{
    ///// <summary>
    ///// A JSON serializer for specific object of this sensor library. It is implemented
    ///// as static extension methods.
    ///// </summary>
    //internal static class JsonSerializer
    //{
    //    /// <summary>
    //    /// Serializes the sample to it's JSON representation.
    //    /// </summary>
    //    /// <param name="sample"></param>
    //    /// <returns></returns>
    //    internal static String ToJson(this ISample sample)
    //    {
    //        return 
    //            "{" + 
    //            @"""value"": """ + sample.Value.ToString() + """," +
    //            """value"": """ + sample.Unit.ToDescription() + """," ;
    //    }
    //}
}
